home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / Text / Show / Less / less-252 / defines.h.top < prev    next >
Text File  |  1994-11-16  |  3KB  |  127 lines

  1. /* Unix definition file for less.  -*- C -*-
  2.  *
  3.  * This file has 3 sections:
  4.  * User preferences.
  5.  * Settings always true on Unix.
  6.  * Settings automatically determined by configure.
  7.  *
  8.  * * * * * *  WARNING  * * * * * *
  9.  * If you edit defines.h by hand, do "touch stamp-h" before you run make
  10.  * so config.status doesn't overwrite your changes.
  11.  */
  12.  
  13. /* User preferences.  */
  14.  
  15. /*
  16.  * SHELL_ESCAPE is 1 if you wish to allow shell escapes.
  17.  * (This is possible only if your system supplies the system() function.)
  18.  */
  19. #define    SHELL_ESCAPE    1
  20.  
  21. /*
  22.  * TAB_COMPLETE_FILENAME is 1 if you wish to allow the TAB key
  23.  * to complete filenames at prompts.
  24.  */
  25. #define    TAB_COMPLETE_FILENAME    1
  26.  
  27. /*
  28.  * CMD_HISTORY is 1 if you wish to allow keys to cycle through
  29.  * previous commands at prompts.
  30.  */
  31. #define    CMD_HISTORY    1
  32.  
  33. /*
  34.  * HILITE_SEARCH is 1 if you wish to have search targets to be 
  35.  * displayed in standout mode.
  36.  */
  37. #define    HILITE_SEARCH    1
  38.  
  39. /*
  40.  * EDITOR is 1 if you wish to allow editor invocation (the "v" command).
  41.  * (This is possible only if your system supplies the system() function.)
  42.  * EDIT_PGM is the name of the (default) editor to be invoked.
  43.  */
  44. #define    EDITOR        1
  45. #define    EDIT_PGM    "vi"
  46.  
  47. /*
  48.  * TAGS is 1 if you wish to support tag files.
  49.  */
  50. #define    TAGS        1
  51.  
  52. /*
  53.  * USERFILE is 1 if you wish to allow a .less file to specify 
  54.  * user-defined key bindings.
  55.  */
  56. #define    USERFILE    1
  57.  
  58. /*
  59.  * GLOB is 1 if you wish to have shell metacharacters expanded in filenames.
  60.  * This will generally work if your system provides the "popen" function
  61.  * and the "echo" shell command.
  62.  */
  63. #define    GLOB        1
  64.  
  65. /*
  66.  * PIPEC is 1 if you wish to have the "|" command
  67.  * which allows the user to pipe data into a shell command.
  68.  */
  69. #define    PIPEC        1
  70.  
  71. /*
  72.  * LOGFILE is 1 if you wish to allow the -l option (to create log files).
  73.  */
  74. #define    LOGFILE        1
  75.  
  76. /*
  77.  * ONLY_RETURN is 1 if you want RETURN to be the only input which
  78.  * will continue past an error message.
  79.  * Otherwise, any key will continue past an error message.
  80.  */
  81. #define    ONLY_RETURN    0
  82.  
  83. /*
  84.  * LESSKEYFILE is the filename of the default lesskey output file 
  85.  * (in the HOME directory).
  86.  * DEF_LESSKEYINFILE is the filename of the default lesskey input 
  87.  * (in the HOME directory).
  88.  */
  89. #define    LESSKEYFILE        ".less"
  90. #define    DEF_LESSKEYINFILE    ".lesskey"
  91.  
  92.  
  93. /* Settings always true on Unix.  */
  94.  
  95. /*
  96.  * Define MSOFTC if compiling under Microsoft C.
  97.  */
  98. #define    MSOFTC    0
  99.  
  100. /*
  101.  * HAVE_SYS_TYPES_H is 1 if your system has <sys/types.h>.
  102.  */
  103. #define HAVE_SYS_TYPES_H    1
  104.  
  105. /*
  106.  * HAVE_STAT is 1 if your system has the stat() call.
  107.  */
  108. #define    HAVE_STAT    1
  109.  
  110. /*
  111.  * HAVE_PERROR is 1 if your system has the perror() call.
  112.  * (Actually, if it has sys_errlist, sys_nerr and errno.)
  113.  */
  114. #define    HAVE_PERROR    1
  115.  
  116. /*
  117.  * HAVE_TIME is 1 if your system has the time() call.
  118.  */
  119. #define    HAVE_TIME    1
  120.  
  121. /*
  122.  * HAVE_SHELL is 1 if your system supports a SHELL command interpreter.
  123.  */
  124. #define    HAVE_SHELL    1
  125.  
  126. /* Settings automatically determined by configure.  */
  127.